<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>停车场系统</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<h1>临时进场</h1>
<div class="row clearfix">
    <div class="col-md-12 column">
        <h1 class="text-center text-info">
            临时用户进入停车场
        </h1>
        <form name="form" class="form-horizontal" role="form" action="linshijinchangcaozuo.html" method="post">
            <div class="form-group">
                <div class="form-group">
                    <label for="inputChepaihao1" class="col-sm-2 control-label">车牌号</label>
                    <div class="col-sm-10">
                        <input name="Chepaihao" type="text" class="form-control" id="inputChepaihao1" placeholder="输入你的车牌号" />
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputChepaihao3" class="col-sm-2 control-label">联系方式</label>
                    <div class="col-sm-10">
                        <input name="Lianxifangshi" type="text" class="form-control" id="inputChepaihao3" placeholder="输入你的联系方式" />
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputChepaihao2" class="col-sm-2 control-label">选择车位</label>
                    <div class="col-sm-10">
                        <input name="Cheweihao" type="text" class="form-control" id="inputChepaihao2" placeholder="输入你选择的车位" />
                    </div>
                </div>
                <div  class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default">确定</button>
                </div>
                <table width="146" border="0" cellspacing="0" align="right" cellpadding="0" class="leftmenulist">
                    <tr class="leftmenutext">
                        <td><div style="margin-left:48px;"><a href="guanliyuanzhuyemian.html" target="_parent">退出</a></div></td>
                    </tr>
                </table>
            </div>
        </form>
    </div>
</div>
<div class="row clearfix">
    <div class="col-md-12 column">
        <div class="row clearfix" style="margin:5px!important;margin:3px;">
            <div class="col-md-12 column">
                <table class="table table-hover table-bordered">
                    <thead>
                    <tr>
                        <th>
                            车位编号
                        </th>
                        <th>
                            车位类型
                        </th>
                        <th>
                            是否占用
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    <c:forEach items="${cheweis}" var="chewei">
                        <tr>
                            <td>${chewei.cheweibianhao}</td>
                            <td>${chewei.cheweileixing}</td>
                            <td>${chewei.shifouzhanyong}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
</body>
</html>
